$color: #fd4057 #1ab394;

::selection {
	color: #fff;
	background: #1ab394;
}

html {
	color: #000;
	background: #f5f5f5;
	font-size: 62.5%;
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
	position: relative;
	font: 1.4rem/1.5 "Helvetica Neue", Helvetica, "Hiragino Sans GB", "STHeitiSC-Light", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
	color: #333;
	background: #E4E4EC;
	overflow-x: hidden;
	transition: background 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

ol,ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

a {
	color: #1ab394;
	text-decoration: none;
	transition: all .3s ease;
}

a:focus, a:hover {
    color: #1ab394;
}

label {
	font-weight: normal;
	margin-bottom: 0;
}

.form-control::-moz-placeholder {
	color: #9b9b9b;
	opacity: 1;
}

.form-control:-ms-input-placeholder {
	color: #9b9b9b;
}

.form-control::-webkit-input-placeholder {
	color: #9b9b9b;
}

.form-control {
	&:focus {
		border-color: none;
		box-shadow: none;
	}
}

.table > tbody > tr > td, 
.table > tbody > tr > th, 
.table > tfoot > tr > td, 
.table > tfoot > tr > th, 
.table > thead > tr > td, 
.table > thead > tr > th {
	vertical-align: middle;
}

.xiaoi-loading {

	width: 100%;
	height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1040;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);

	.i-loading {
		position: fixed;
	    left: 50%;
	    top: 50%;
	    z-index: 1100;
	    display: block;
	    width: 160px;
	    margin: 0;
		padding: 15px;
		background: rgba(0, 0, 0, 0.7);
		color: #fff;
		text-align: center;
		border-radius: 8px;
		transform: translate(-50%, -50%);

		.loading-spinner {
			font-size: 32px;
		}
	}

}

.loading {
    position: fixed;
    left: 0;
    display: block;
    width: 100%;
    bottom: 0;
    margin: 0;
	padding: 10px 15px;
	background: #f5f5f5;
	color: #000;
}

.loading-spinner {
	margin: 0;
    font-size: 24px;
}


.yoyo-x-right {
    animation: xRightMatrixR 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
}
.yoyo-x-left {
    animation: xLeftMatrixR 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
}

.yoyo-load0 {
    animation: Load0 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
}

.yoyo-load1 {
    animation: Load1 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
}

.yoyo-load2 {
    animation: Load2 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
}

.yoyo-load3 {
    animation: Load3 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
}

.yoyo-load4 {
    animation: Load4 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
}

.yoyo-load5 {
    animation: Load5 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
}


.load-main-box {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.95);
    transform-origin: 0 0;
    z-index: 2;
    top:0;
    left:0;
    margin-top: 40px;
}

.load-box {
	perspective: 300px;
	width: 140px;
	height: 80px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -70px;
	margin-top: -80px;
	z-index: 99;
	animation: alphaTo .3s ease-out;
	font-size: 22px;
	color: nth($color, 1);
	text-align: center;
	font-family: "Raleway","Helvetica Neue",Helvetica,"Lantinghei SC","Microsoft YaHei","微软雅黑","Hiragino Sans GB",SimSun,sans-serif;
}

.load-box .logo {
	transform-style: preserve-3d;
	display: block;
	width: 44px;
	height: 44px;
	margin: auto;
	animation: loadTween 2S cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.load-box span {
	display: inline-block;
}

.load-box span > p {
	float: left;
}

.load-main-box .load-bar {
	width: 0%;
	height: 2px;
	background: nth($color, 1);
	transition: width .3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.load-out {
	animation: alphaOut .5s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

.load-box .logo {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    padding: 4px;
    text-transform: uppercase;
    font-size: 18px;
    font-family: "Hiragino Sans GB","Microsoft YaHei","微软雅黑",sans-serif;
    color: nth($color, 1);
    background: nth($color, 1);
    border-radius: 4px;
    transform: rotate(360deg);
    background: url(../images/logo.png) no-repeat;
    background-size: 44px 44px;
}

/* iCheck plugin Square skin, green
----------------------------------- */
.icheckbox_square-green,
.iradio_square-green {
    display: inline-block;
    *display: inline;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 22px;
    height: 22px;
    background: url(../images/green.png) no-repeat;
    border: none;
    cursor: pointer;
}

.icheckbox_square-green {
    background-position: 0 0;
}

.icheckbox_square-green.hover {
    background-position: -24px 0;
}

.icheckbox_square-green.checked {
    background-position: -48px 0;
}

.icheckbox_square-green.disabled {
    background-position: -72px 0;
    cursor: default;
}

.icheckbox_square-green.checked.disabled {
    background-position: -96px 0;
}

.iradio_square-green {
    background-position: -120px 0;
}

.iradio_square-green.hover {
    background-position: -144px 0;
}

.iradio_square-green.checked {
    background-position: -168px 0;
}

.iradio_square-green.disabled {
    background-position: -192px 0;
    cursor: default;
}

.iradio_square-green.checked.disabled {
    background-position: -216px 0;
}

/* HiDPI support */
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
    .icheckbox_square-green,
    .iradio_square-green {
        background-image: url(../images/green@2x.png);
        -webkit-background-size: 240px 24px;
        background-size: 240px 24px;
    }
}